package com.jtlrm.ckd.entity;

import com.jtlrm.ckd.config.UrlConstants;
import com.jtlrm.ckd.util.ContactList.SlideBarEntity;

public class HuanZheEntity extends SlideBarEntity {
    private String id;

    private String easemobId;

    private String headPicture;

    private int sex;

    private String name;

    private String namePinyin;

    private String orgDisease;

    private String implantedDate;

    private boolean hasInfection;

    private boolean followed;

    private String birthday;

    private int treatmentType;

    private int age;

    @Override
    public String getAvatar() {
        return getHeadPicture();
    }

    @Override
    public String getiId() {
        return easemobId;
    }

    @Override
    public String getuId() {
        return id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEasemobId() {
        return easemobId;
    }

    public void setEasemobId(String easemobId) {
        this.easemobId = easemobId;
    }

    public String getHeadPicture() {
        return  UrlConstants.IMAGE_URL + headPicture;
    }

    public void setHeadPicture(String headPicture) {
        this.headPicture = headPicture;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNamePinyin() {
        return namePinyin;
    }

    public void setNamePinyin(String namePinyin) {
        this.namePinyin = namePinyin;
    }

    public String getOrgDisease() {
        return orgDisease;
    }

    public void setOrgDisease(String orgDisease) {
        this.orgDisease = orgDisease;
    }

    public String getImplantedDate() {
        return implantedDate;
    }

    public void setImplantedDate(String implantedDate) {
        this.implantedDate = implantedDate;
    }

    public boolean isHasInfection() {
        return hasInfection;
    }

    public void setHasInfection(boolean hasInfection) {
        this.hasInfection = hasInfection;
    }

    public boolean isFollowed() {
        return followed;
    }

    public void setFollowed(boolean followed) {
        this.followed = followed;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getTreatmentType() {
        return treatmentType;
    }

    public void setTreatmentType(int treatmentType) {
        this.treatmentType = treatmentType;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String getNameStr() {
        return getName();
    }
}
